package com.daoeping.service.impl;

import java.util.List;

import com.daoeping.dao.Bsc_schoolDAO;
import com.daoeping.data.Bsc_school;
import com.daoeping.service.Bsc_schoolService;

public class Bsc_schoolServiceImpl implements Bsc_schoolService {

	private Bsc_schoolDAO bsc_schoolDAO;
	
	public Bsc_schoolDAO getBsc_schoolDAO() {
		return bsc_schoolDAO;
	}

	public void setBsc_schoolDAO(Bsc_schoolDAO bsc_schoolDAO) {
		this.bsc_schoolDAO = bsc_schoolDAO;
	}

	@Override
	public boolean addBsc_school(Bsc_school bsc_school) {
		// TODO Auto-generated method stub
		return this.bsc_schoolDAO.insertData(bsc_school);
	}

	@Override
	public boolean editBsc_school(Bsc_school bsc_school) {
		// TODO Auto-generated method stub
		return this.bsc_schoolDAO.updateData(bsc_school);
	}

	@Override
	public boolean delBsc_school(Bsc_school bsc_school) {
		// TODO Auto-generated method stub
		return this.bsc_schoolDAO.deleteData(bsc_school);
	}

	@Override
	public List<Bsc_school> findBsc_schoolList() {
		// TODO Auto-generated method stub
		return this.bsc_schoolDAO.findBsc_schoolList();
	}

	@Override
	public List<Bsc_school> findBsc_schoolByID(int id) {
		// TODO Auto-generated method stub
		return this.bsc_schoolDAO.findBsc_schoolList();
	}

}
